<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" 
	  xmlns:th="http://www.thymeleaf.org" lang="en">
	<title>This is index page</title>
	<meta name="renderer" content="webkit" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="keywords" content="" />
	<meta name="description" content="" />
    <meta name="author" content="panda" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<body>
		<a th:href="@{/testServlet?method=testGetMethod}">返回页面</a>
		<input type="text" th:value="${session.contextPath}" />
		<input type="text" th:value="${currentDate}" />
		<input type="text" th:value="${application.cxtPath}" />
		<a th:href="@{/testServlet?method=testJsonMethod}">返回json数据</a>
		<a th:href="@{/testServlet?method=testJsonMethod1}">该页面不存在</a>
		<a href="javascript:void(0);" onclick="sendAjax1();">发送AJAX请求(原生js DomString),打开F12看控制台</a>
		<a href="javascript:void(0);" onclick="sendAjax2();">发送AJAX请求(原生js FormData),打开F12看控制台</a>
		<a href="javascript:void(0);" onclick="sendAjax3();">发送AJAX请求(Jquery DomString),打开F12看控制台</a>
		<a href="javascript:void(0);" onclick="sendAjax4();">发送AJAX请求(Jquery FormData),打开F12看控制台</a>
		<script type="text/javascript" th:src="@{/resources/static/assets/js/common/jquery-2.0.3.min.js}"></script>
		<script type="text/javascript" th:src="@{/resources/static/assets/js/plugins/layer/layer.js}"></script>
		<script type="text/javascript" th:src="@{/resources/static/assets/js/common/util.js}"></script>
		<script type="text/javascript" th:src="@{/resources/static/assets/js/common/ajaxCommon-panda.js}"></script>
		<script type="text/javascript" th:src="@{/resources/static/assets/js/common/index.js}"></script>
		<script type="text/javascript" th:src="@{/resources/static/assets/js/common/AjaxTest.js}"></script>
	</body>
</html>